package com.bdqn.crm.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.crm.pojo.Storage;

import java.util.List;

/**
 *
 */
public interface StorageService extends IService<Storage> {

    /**
     * 分页查询
     * @param prodName
     * @param stkWarehouse
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Storage> selectPages(String prodName, String stkWarehouse, Integer pageIndex, Integer pageSize);

    /**
     * 表内记录数
     * @param prodName
     * @param stkWarehouse
     * @return
     */
    Integer count(String prodName, String stkWarehouse);
}
